#ifndef CONTROLLER_DEF
#define CONTROLLER_DEF

#include <SDL/SDL.h>
#include "Data.h"

enum{STATIC, MOTION};
enum{PRESSED, RELEASED};
enum{NONE, RIGHT, LEFT, UP, DOWN, ESC, SPACE, ENTER};

typedef struct Control Control;
struct Control{
	int mouse_button;
	Coor mouse_button_coor;
	int key_button;
	int mvt;
	int state;
};

void getControl();
void waitForControl();

#endif 
